package com.thghh.resource;

import java.io.IOException;
import java.io.Reader;

/**
 * @author Zhikang.Peng
 * @version 1.0
 * @email thghh@qq.com
 * @date 2020/12/16 16:48
 */
public interface ResourceLoader {

    public Object findResource(String name) throws IOException;

    public long getLastModified(Object resource);

    public Reader getReader(Object resource, String encoding) throws IOException;;

    public void closeResource(Object source) throws IOException;;
}
